package cn.achao.csr.api.model.entity;

import lombok.Data;

@Data
public class RestBean {
    /**
     * http状态码
     */
    Integer code;
    /**
     * 响应内容
     */
    String resp;

    public static RestBean fail() {
        RestBean restBean = new RestBean();
        restBean.setCode(500);
        return restBean;
    }
}
